<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta charset="utf-8"/>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
        <title>SIMPLE CRUD APPLICATION</title>
        <link href="<?php echo base_url(); ?>/css/admin/style.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo base_url(); ?>/css/admin/calendar.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="<?php echo base_url(); ?>/js/admin/calendar.js"></script>

    </head>
    <body>
        <div class="content">
            <h1><?php echo $title; ?></h1>
            <?php echo $message; ?>
            <form method="post" action="<?php echo $action . '/' . $query->id; ?>">
                <div class="data">
                    <table>
                        <tr>
                            <td valign="top">Năm Sinh<span style="color:red;">*</span></td>
                            <td><input type="text" name="NamSinh" class="text" value="<?php echo $query->NamSinh; ?>"/>
                                <?php echo form_error('NamSinh'); ?>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top">Nơi Sinh<span style="color:red;">*</span></td>
                            <td><input type="text" name="NoiSinh" class="text" value="<?php echo $query->NoiSinh; ?>"/>
                                <?php echo form_error('NoiSinh'); ?>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top">Hiện là<span style="color:red;">*</span></td>
                            <td><input type="text" name="HienLa" class="text" value="<?php echo $query->HienLa; ?>"/>
                                <?php echo form_error('HienLa'); ?>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top">Khối lớp dạy<span style="color:red;">*</span></td>
                            <td><input type="text" name="KhoiLopDay" class="text" value="<?php echo $query->KhoiLopDay; ?>"/>
                                <?php echo form_error('KhoiLopDay'); ?>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top">Khu vực dạy<span style="color:red;">*</span></td>
                            <td><input type="text" name="KhuVucDay" class="text" value="<?php echo $query->KhuVucDay; ?>"/>
                                <?php echo form_error('KhuVucDay'); ?>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top">Mức Lương Yêu Cầu<span style="color:red;">*</span></td>
                            <td><input type="text" name="MucLuongYeuCau" class="text" value="<?php echo $query->MucLuongYeuCau; ?>"/>
                                <?php echo form_error('MucLuongYeuCau'); ?>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top">Thời gian dạy<span style="color:red;">*</span></td>
                            <td><input type="text" name="ThoiGianDay" class="text" value="<?php echo $query->ThoiGianDay; ?>"/>
                                <?php echo form_error('ThoiGianDay'); ?>
                            </td>
                        </tr>
                        <tr>
                            <td valign="top">Số buổi dạy<span style="color:red;">*</span></td>
                            <td><input type="text" name="SoBuoiDay" class="text" value="<?php echo $query->SoBuoiDay; ?>"/>
                                <?php echo form_error('SoBuoiDay'); ?>
                            </td>
                        </tr>
                        <tr>
                            <td>&nbsp;</td>
                            <td>
                                <button type="submit" value="Save"> Cập nhật </button>
                            </td>
                        </tr>
                    </table>
                </div>
            </form>
            <br />
            <?php echo $link_back; ?>
        </div>
    </body>
</html>